package com.wuyou.single.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author wuyou
 * @since 2024-07-24 16:01:20
 */
@TableName("sys_user")
@ApiModel(value = "SysUser对象", description = "用户信息表")
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("真实姓名")
    private String fullName;

    @ApiModelProperty("性别")
    private Boolean sex;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("邮箱号")
    private String email;

    @ApiModelProperty("密码")
    @TableField("`password`")
    private String password;

    @ApiModelProperty("用户头像url")
    private String avatar;

    @ApiModelProperty("省code")
    private String addrProvinceCode;

    @ApiModelProperty("省")
    private String addrProvince;

    @ApiModelProperty("市code")
    private String addrCityCode;

    @ApiModelProperty("市")
    private String addrCity;

    @ApiModelProperty("区县code")
    private String addrCountryCode;

    @ApiModelProperty("区县")
    private String addrCountry;

    @ApiModelProperty("街道code")
    private String addrStreetCode;

    @ApiModelProperty("街道")
    private String addrStreet;

    @ApiModelProperty("详细地址")
    private String addrDetail;

    @ApiModelProperty("是否禁用")
    private Boolean isDisabled;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人id")
    private Long creatorId;

    @ApiModelProperty("创建人名称")
    private String creatorName;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人id")
    private Long updateById;

    @ApiModelProperty("更新人名称")
    private String updateByName;

    @ApiModelProperty("删除标记(0/false-未删除, 1/true-已删除)")
    private Boolean deleteFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getAddrProvinceCode() {
        return addrProvinceCode;
    }

    public void setAddrProvinceCode(String addrProvinceCode) {
        this.addrProvinceCode = addrProvinceCode;
    }

    public String getAddrProvince() {
        return addrProvince;
    }

    public void setAddrProvince(String addrProvince) {
        this.addrProvince = addrProvince;
    }

    public String getAddrCityCode() {
        return addrCityCode;
    }

    public void setAddrCityCode(String addrCityCode) {
        this.addrCityCode = addrCityCode;
    }

    public String getAddrCity() {
        return addrCity;
    }

    public void setAddrCity(String addrCity) {
        this.addrCity = addrCity;
    }

    public String getAddrCountryCode() {
        return addrCountryCode;
    }

    public void setAddrCountryCode(String addrCountryCode) {
        this.addrCountryCode = addrCountryCode;
    }

    public String getAddrCountry() {
        return addrCountry;
    }

    public void setAddrCountry(String addrCountry) {
        this.addrCountry = addrCountry;
    }

    public String getAddrStreetCode() {
        return addrStreetCode;
    }

    public void setAddrStreetCode(String addrStreetCode) {
        this.addrStreetCode = addrStreetCode;
    }

    public String getAddrStreet() {
        return addrStreet;
    }

    public void setAddrStreet(String addrStreet) {
        this.addrStreet = addrStreet;
    }

    public String getAddrDetail() {
        return addrDetail;
    }

    public void setAddrDetail(String addrDetail) {
        this.addrDetail = addrDetail;
    }

    public Boolean getIsDisabled() {
        return isDisabled;
    }

    public void setIsDisabled(Boolean isDisabled) {
        this.isDisabled = isDisabled;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateById() {
        return updateById;
    }

    public void setUpdateById(Long updateById) {
        this.updateById = updateById;
    }

    public String getUpdateByName() {
        return updateByName;
    }

    public void setUpdateByName(String updateByName) {
        this.updateByName = updateByName;
    }

    public Boolean getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Boolean deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    @Override
    public String toString() {
        return "SysUser{" +
        "id = " + id +
        ", userName = " + userName +
        ", fullName = " + fullName +
        ", sex = " + sex +
        ", mobile = " + mobile +
        ", email = " + email +
        ", password = " + password +
        ", avatar = " + avatar +
        ", addrProvinceCode = " + addrProvinceCode +
        ", addrProvince = " + addrProvince +
        ", addrCityCode = " + addrCityCode +
        ", addrCity = " + addrCity +
        ", addrCountryCode = " + addrCountryCode +
        ", addrCountry = " + addrCountry +
        ", addrStreetCode = " + addrStreetCode +
        ", addrStreet = " + addrStreet +
        ", addrDetail = " + addrDetail +
        ", isDisabled = " + isDisabled +
        ", createTime = " + createTime +
        ", creatorId = " + creatorId +
        ", creatorName = " + creatorName +
        ", updateTime = " + updateTime +
        ", updateById = " + updateById +
        ", updateByName = " + updateByName +
        ", deleteFlag = " + deleteFlag +
        "}";
    }
}
